package com.jojo.jojomall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jojo.common.utils.PageUtils;
import com.jojo.jojomall.product.entity.CategoryEntity;
import com.jojo.jojomall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author jojoda
 * @email sunlightcs@gmail.com
 * @date 2022-05-01 20:46:21
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    void removeMenyByids(List<Long> asList);

    Long[] findPathById(Long categlogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Categorys();

    Map<String, List<Catelog2Vo>> getCatalogJson();
}

